@import "../../common/base.less";
@import "../../common/newNormalize.less";
.clearfix {
    zoom: 1
}

.clearfix:after {
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both
}



.giftCenter {
    width: 100%;
    position: relative;
    background:#E0E3E8;
    .giftCenterMain {
        .px2rem(width, 1200);
        height: auto;
        margin: 0 auto;

        .giftBanner {
            .px2rem(width, 1200);
            .px2rem(height, 330);
        .px2rem(margin-top, 80);
            
            .bannersRight {
                border: 0.5px solid #CFD2D7;
                .px2rem(width, 346);
                .px2rem(height, 330);
                float: right;
                background: #E9ECEF;
                .title {
                    width: 100%;
                    .px2rem(height, 65);
                    .px2rem(line-height, 65);
                    font-size: 0.24rem;
                    color: #000;
                    .hotGift {
                        float: left;
                        text-indent: 0.2rem;
                    }
                    .change {
                        float: right;
                        margin-right: 0.2rem;
                        font-size: 0.16rem;
                        .px2rem(line-height, 65);
                        color: #707B84;

                        span {
                            display: block;
                            width: 0.21rem;
                            height: 0.23rem;
                            background: url("../../../static/img/shuaxin.png");
                            background-size: 100% 100%;
                            float: left;
                            margin-top: 0.21rem;
                            margin-right: 0.1rem;
                        }
                    }
                }
                .giftList {
                    .px2rem(margin-left,
                    20);
                    width: 3.2rem;
                    .giftItem {
                        width: 3.1rem;
                        height: 1rem;
                        margin-bottom: 0.2rem;
                        .itemImg {
                            float: left;

                            width: 1rem;
                            height: 1rem;
                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }
                        .itemText {
                            float: right;
                            width: 2rem;
                            height: 1rem;
                            font-size: 0.18rem;
                            margin-left: 0.1rem;
                            color: #707B84;
                            text-align: center;
                            p {
                                 width: 1.8rem;
                                font-size: 0.18rem;
                                height: 0.35rem;
                                line-height: 0.35rem;
                                text-align: left;
                                margin-left: 0.1rem;

                            }
                            .getGift {
                                display: block;
                                float: right;
                                width: 0.82rem;
                                height: 0.26rem;
                                line-height: 0.26rem;
                                color: #B12D44;
                                border: 0.5px solid #B12D44;
                                border-radius: 0.02rem;
                                font-size: 0.12rem;
                                margin-top: 0.05rem;
                                font-size: 0.16rem;
                                text-align: center;
                                
                            }
                            .getGift:hover {
                                background: #B12D44;
                                color: #fff;
                                border: none;
                            }
                        }
                    }
                }
            }
        }
        .newGift{
           width: 12rem;
           height: auto;
           .newGiftTitle{
            margin-top: 0.33rem;
            margin-bottom: 0.15rem;
           }
           .newGiftList{
                width: 12rem;
                height: 2.4rem;
                margin: 0 auto;
                padding: 0;
                float: left;
                .newGiftSave:first-child{
                    margin-left: 0;
                };
                .newGiftSave{
                    width: 2.8rem;
                    height: 2.4rem;
                    border: 0.5px solid #CFD2D7;
                    float:left;
                    display: inline-block;
                    margin-left: 0.26rem;
                     .itemImg{
                        width: 100%;
                        height: 1.55rem;
                        position: relative;
                        background: red;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                        .title{
                            width: 100%;
                            height: 0.26rem;
                            background:rgba(0,0,0,0.35);
                            position: absolute;
                            left:0;
                            bottom: 0;
                            p{
                                width: 50%;
                                height: 0.26rem;
                                line-height: 0.26rem;
                                text-align: center;
                                color: #fff;
                                font-size: 0.14rem;
                                float: left;

                            }
                        }

                    }
                }
                  
                
                .text{
                    width: 100%;
                    .textTitle{
                        width: 100%;
                        height: 0.34rem;
                        line-height: 0.34rem;
                        color: #707B84;
                        text-align: left;
                        text-indent: 0.2rem;
                        font-size: 0.18rem;
                        margin-top: 0.08rem;

                    }
                    .getGift{
                        width: 100%;
                        height: 0.34rem;
                        line-height: 0.34rem;
                        font-size: 0.18rem;
                        span{
                            display: block;
                            float: left;
                            width: 50%;
                            height: 100%;
                            text-align: left;
                        text-indent: 0.2rem;

                        }
                        a{
                       float: right;

                            width:0.82rem;
                            height: 0.26rem;
                            line-height: 0.26rem;
                            text-align: center;
                            margin-right: 0.15rem;
                            margin-top: 0.05rem;
                            background: #B12D44;
                            color: #fff;
                            display: block;
                            font-size: 0.16rem;

                        }
                    a:hover{
                       background:none;
                       color: #B12D44;
                       border: 0.5px solid #B12D44;
                    }
                    }
                }
           }


        }
        .allGift{
            width: 12rem;
            height: auto;
            float: left;
            .allGiftTitle{
                margin-top: 0.33rem;
                margin-bottom: 0.15rem;
            }
            .allGiftType{
                width: 100%;
                height: 0.57rem;
                background: #E9ECEF;
                color: #000000;
                font-size: 0.18rem;
                border: 0.5px solid #CFD2D7;
                padding: 0;
                .name{
                    width:100%;
                    height: 0.56rem;
                    float: left;
                    margin: 0;
                    .title{
                        width: 1.22rem;
                        height: 0.56rem;
                        text-align: center;
                        line-height: 0.56rem;
                        border-right: 0.5px solid #CFD2D7;
                        border-bottom: 0.5px solid #CFD2D7;
                        float: left;




                    }
                    .nameType{
                        float: left;
                        width: 10.75rem;
                        height: 0.55rem;
                        line-height: 0.56rem;

                        .typeItem{
                            float: left;
                            font-size: 0.24rem;
                            color: #000;
                            margin-left: 0.25rem;
                            margin-right: 0.25rem;
                            line-height: 0.56rem;
                        }

                    }
                }
            }
           
            .searchNoGame {
                .px2rem(width,
                1200);
                .px2rem(height,
                650);
                background: rgba(0, 0, 0, 0.2);
                .px2rem(margin-top,
                50);
                .px2rem(margin-bottom,
                50);
                float: left;
                position: relative;
                .noGame {
                    .px2rem(width,
                    360);
                    .px2rem(height,
                    240);
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    .noGameImg {
                        .px2rem(width,
                        244);
                        .px2rem(height,
                        173);
                        background: url("../../../static/img/noGame.png");
                        background-size: cover;
                        margin: 0 auto;
                    }
                    p {
                        .px2rem(width,400);
                        color: #fff;
                        .px2rem(margin-top,
                        30);
                        .px2rem(font-size,24);
                    }
                }
            }
            .newGiftList{
                width: 12rem;
                height: 11rem;
                margin: 0 auto;
                padding: 0;
                float: left;
                overflow: hidden;
                .mainList{
                    width: 13rem;
                    height: 9.5rem;
                    margin: 0 auto;
                    padding: 0;
                    float: left;
                    position: relative;
                    left: -0.3rem;
                }
                .newGiftSave{
                    width: 2.8rem;
                    height: 2.4rem;
                    border: 0.5px solid #CFD2D7;
                    float:left;
                    display: inline-block;
                    margin-left: 0.26rem;
                    margin-top: 0.26rem;

                     .itemImg{
                        width: 100%;
                        height: 1.55rem;
                        position: relative;
                        background: red;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                        .title{
                            width: 100%;
                            height: 0.26rem;
                            background:rgba(0,0,0,0.35);
                            position: absolute;
                            left:0;
                            bottom: 0;
                            p{
                                width: 50%;
                                height: 0.26rem;
                                line-height: 0.26rem;
                                text-align: center;
                                color: #fff;
                                font-size: 0.14rem;
                                float: left;

                            }
                        }
                        .itemType{
                            position: absolute;
                            top: 0;
                            right: 0;
                            width: 1rem;
                            height: 0.32rem;
                            line-height: 0.32rem;
                            text-align: center;
                            background:rgba(0,0,0,0.6);
                            font-size: 0.16rem;
                            color: #fff;
                        }

                    }
                }
               
                
                .text{
                    width: 100%;
                    .textTitle{
                        width: 100%;
                        height: 0.34rem;
                        line-height: 0.34rem;
                        color: #707B84;
                        text-align: left;
                        text-indent: 0.2rem;
                        font-size: 0.18rem;
                        margin-top: 0.08rem;

                    }
                    .getGift{
                        width: 100%;
                        height: 0.34rem;
                        line-height: 0.34rem;
                        span{
                            display: block;
                            float: left;
                            width: 50%;
                            height: 100%;
                            text-align: left;
                        text-indent: 0.2rem;

                        }
                        a{
                       float: right;

                            width:0.82rem;
                            height: 0.26rem;
                            line-height: 0.26rem;
                            text-align: center;
                            margin-right: 0.15rem;
                            margin-top: 0.05rem;
                            background: #B12D44;
                            color: #fff;
                            display: block;
                            font-size: 0.16rem;


                        }
                    a:hover{
                       background:none;
                       color: #B12D44;
                       border: 0.5px solid #B12D44;
                    }
                    }
                }
           }

       }
    }
}